<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>


<script type="text/javascript" src="js/jquery.itextclear.js"></script>
<script type="text/javascript">
    $(document).ready(function() {
        $('input[type=text], input[type=password], input[type=url], input[type=email], input[type=number], textarea', '.form').iTextClear();
    });
</script>
<!-- jQplot CSS -->

<link rel="stylesheet" media="screen" href="${ctx}/css/Tree.css"/>
<link rel="stylesheet" media="screen" href="${ctx}/css/docs.css"/>
<!-- jQplot CSS END -->

<!-- DATATABLES CSS -->
<link rel="stylesheet" media="screen" href="lib/datatables/css/vpad.css"/>
<script type="text/javascript" src="lib/datatables/js/jquery.dataTables.js"></script>
<script type="text/javascript">
    /*$(document).ready(function() {
        $('#example').dataTable({
            "sPaginationType": "full_numbers"
        });
    });*/
</script>
<!-- DATATABLES CSS END -->

<script>
    $(document).ready(function() {
        $('#simple-button').popover('#simple-popover', {});
        $('#top-button').popover('#top-popover', {preventLeft: true, preventRight: true, preventBottom:true});
    });
</script>

<style>
    .current_organization_ul li{height:22px; line-height:22px}
    span.title{font-weight:600;padding-right:15px;}
</style>

<h1 class="page-title">审核组织架构</h1>


<div class="container_12 clearfix leading">
    <section class="tabs grid_12 leading">
        <ul class="clearfix">
            <li><a href="#" class="current">组织架构</a></li>
        </ul>
        <section>
            <section class="clearfix" style="display: block;">
                <header class="grid_12 alpha omega">

                </header>
                <div class="grid_12 alpha">
                    <%@ include file="/WEB-INF/pages/common/common_tree.jsp" %>
                    
                    <div style="border:1px solid #cccccc;margin-left:430px;margin-top:20px;height:230px;padding-top:8px;">
                        <span style="color:#3399FF;font-weight:600;padding-left:5px;">当前部门详细信息</span>
                        <hr>
                        <ul class="current_organization_ul">
                            <li><span class="title">所属分公司:</span><span>${organization.topOrganization == null ? "无" : organization.topOrganization.fullName}</span></li>
                            <li><span class="title">上级部门:</span><span>${organization.parent == null ? "无" : organization.parent.fullName}</span></li>
                            <li><span class="title">名称:</span><span>${organization.fullName}</span></li>
                            <li><span class="title">简称:</span><span>${organization.acronym}</span></li>
                            <li><span class="title">部门等级:</span><span>${organization.level.name}</span></li>
                            <li><span class="title">工号:</span><span>${organization.employeeNo}</span></li>
                            <li><span class="title">编制人数:</span><span>${organization.employeeCount}</span></li>
                            <li><span class="title">申请时间:</span><span><s:date name="organization.create_date" format="yyyy-MM-dd"/></span></li>
                        </ul>
                    </div>
                </div>

            </section>
        </section>
    </section>
</div>

<script type="text/javascript">
    $(function(){
        $("#left_level").next("section").css("width", 250);
    });
</script>

<%@ include file="/WEB-INF/pages/common/common_audit.jsp" %>